#-*-coding:utf-8-*-
from flask import g
import hashlib

def password_md5():
	m = hashlib.md5()
	m.update(g.password)
	return m.hexdigest()